﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

namespace CodeVisual
{
    partial class ErrorBox : Form
    {
        public ErrorBox()
        {
            InitializeComponent();
        }

        public ErrorBox(int Height, int Width, string errorMessage)
        {
            InitializeComponent();

            label1.Text = errorMessage;
            this.Height = Height;
            this.Width = Width;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Dispose();
            this.Close();
        }
    }
}
